Part Number Hot Search : 
LT1000 BSS135 02210 1M160Z 1210F P2301 HCT05 324085
Product Description
Full Text Search
 

To Download ADMC201 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  a ADMC201 functional block diagram embedded control sequencer clk internal reference refout 11-bit a/d converter refin convst u v w multiplexer expansion block aux0 aux1 aux2 aux3 12-bit pwm timer block pwmsync a ap b bp c cp stop control registers vector transformation block prog. digital i/o port pio 0C5 databus control bus reset wr a0C3 rd cs irq d0Cd11 ADMC201 only ADMC201 only aux motion coprocessor features analog input block 11-bit resolution analog-to-digital (a/d) converter 7 single-ended (se) analog inputs 4 simultaneously sampled analog inputs expansion with 4 multiplexed inputs 3.2 m s conversion time/channel 0 vC5 v analog input range internal 2.5 v reference pwm synchronized sampling capability 12-bit pwm timer block three-phase center-based pwm 1.5 khzC25 khz pwm switching frequency range programmable deadtime programmable pulse deletion pwm synchronized output external pwm shutdown vector transformation block 12-bit vector transformations forward and reverse clarke transformations forward and reverse park rotations 2.9 m s transformation time programmable digital i/o port 6 bit configurable digital i/o change of state interrupt support dsp & microcontroller interface 12 bit memory mapped registers twos complement data format 6.25 mhz to 25 mhz operating clock range 68-pin plcc package single 5 v dc power supply industrial temperature range ? analog devices, inc., 1995 one technology way, p.o. box 9106, norwood, ma 02062-9106, u.s.a. tel: 617/329-4700 fax: 617/326-8703 rev. a information furnished by analog devices is believed to be accurate and reliable. however, no responsibility is assumed by analog devices for its use, nor for any infringements of patents or other rights of third parties which may result from its use. no license is granted by implication or otherwise under any patent or patent rights of analog devices. general description the ADMC201 is a motion coprocessor that can be used with either microcontrollers or digital signal processors (dsp). it provides the functionality that is required to implement a digital control system. in a typical application, the dsp or micro- controller performs the control algorithms (position, speed, torque and flux loops) and the ADMC201 provides the neces- sary motor control functions: analog current data acquisition, vector transformation, digital inputs/outputs, and pwm drive signals. product highlights simultaneous sampling of four inputs a four channel sample and hold amplifier allows three-phase motor currents to be sampled simultaneously, reducing errors from phase coherency. sample and hold acquisition time is 1.6 m s and conversion time per channel is 3.2 m s (using a 12.5 mhz system clock). flexible analog channel sequencing the ADMC201 supports acquisition of 2, 3, or 4 channels per group. converted channel results are stored in registers and the data can be read in any order. the sampling and conversion time for two channels is 8 m s, three channels is 11.2 m s, and four channels is 14.4 m s (using a 12.5 mhz system clock). embedded control sequencer the embedded control sequencer off-loads the dsp or micro- processor, reducing the instructions required to read analog input channels, control pwm timers and perform vector trans- formations. this frees the host processor for performing control algorithms. fast dsp/microprocessor interface the high speed digital interface allows direct connection to 16-bit digital signal processors and microprocessors. the ADMC201 has 12 bit memory mapped registers with twos complement data format and can be mapped directly into the data memory map of a dsp. this allows for a single instruction read and write interface. integration the ADMC201 integrates a four channel simultaneous sam- pling analog-to-digital converter, four channel analog multi- plexer, analog reference, vector transformation, six digital inputs/outputs, and three-phase pwm timers into a 68-pin plcc. integration reduces cost, board space, power consump- tion, and design and test time.
ADMC201Cspecifications rev. a C2C parameter ADMC201ap units conditions/comments analog-to-digital converter 1 resolution 11 bits twos complement data format relative accuracy 2 lsb max integral nonlinearity differential nonlinearity 2 lsb max no missing codes guaranteed bias offset error 5 lsb max any channel bias offset match 4 lsb max between channels full-scale error 6 lsb max any channel full-scale error match 4 lsb max between channels conversion time/channel 40 system clk cycles signal-to-noise ratio (snr) 2 60 db min f in = 600 hz sine wave, f sample = 55 khz, 600 hz channel-to-channel isolation two-/three-phase mode e58 db max sine wave applied to unselected channels three-/three-phase mode e55 db max analog inputs input voltage level 0e5 volts analog input current 100 m a max input capacitance 10 pf typ track and hold aperture delay 200 ns max any channel aperture time delay match 20 ns max between channels sha acquisition time 20 system clk cycles droop rate 5 mv/ms max reference input voltage level 2.5 v dc reference input current 50 m a max reference output voltage level 2.5 volts voltage level tolerance 5 % max full load drive capability 200 m a max logic v il 0.8 v max v ih 2.0 v min v ol 0.4 v max i sink = 400 m a, v dd = 5 v v oh 4.5 v min i source = 20 m a, v dd = 5 v input leakage current 1 m a max three-state leakage current 1 m a max input capacitance 20 pf typ 12-bit pwm timers resolution 12 bits programmable deadtime range 0e10.08 m s programmable deadtime increments 2 system clk cycles 160 ns programmable pulse deletion range 0e10.16 m s programmable deletion increments 1 system clk cycle 80 ns minimum pwm frequency 1.5 khz resolution varies with pwm switching frequency (10 mhz clock: 20 khz = 9 bits, 10 khz = 10 bits, 5 khz = 11 bits, 2.5 khz = 12 bits). higher fre- quencies are available with lower resolution vector transformation park & clarke transformation radius error 0.7 % max angular error 30 arc min max reverse transformation time 37 system clk cycles forward transformation time 40 system clk cycles external clock input range 6.25e25 mhz if > 12.5 mhz, then it is necessary to divide down via sysctrl register internal system clock range 6.25e12.5 mhz power supply current i dd 20 ma max notes 1 measurements made with external reference. 2 tested with pwm switching frequency of 25 khz. specifications subject to change without notice. (v dd = +5 v 6 5%; agnd = dgnd = 0 v; refin = 2.5 v; external clock = 12.5 mhz; t a = C40 8 c to +85 8 c unless otherwise noted)
ADMC201 rev. a C3C 9 table i. ADMC201 timing specifications (v dd = 5 v, 6 5%; t a = C4 0 8 c to +85 8 c) number symbol ADMC201 timing requirements min max units 1t per clk clk period 40 160 ns 2t pwh clk clk pulse width, high 20 - ns 3t pwl clk clk pulse width, low 20 - ns 4t su csb_wrb cs low before falling edge of wr 0- ns 5t su addr_wrb addr valid before falling edge of wr 0- ns 6t su data_wrb data valid before rising edge of wr 13 - ns 7t hd wrb_data data hold after rising edge of wr 4.5 - ns 8t hd wrb_addr addr hold after rising edge of wr 4.5 - ns 9t hd wrb_csb cs hold after rising edge of wr 4.5 - ns 10 t pwl wrb 1 wr pulse width, low 20 - ns 11 t pwh wrb 1 wr pulse width, high 20 - ns 12 t hd wrb_clk_h 1 wr low after rising edge of clk 7 - ns 13 t su wrb_clk_h 1 wr high before rising edge of clk 7 - ns 14 t su wrb_clk_l 1 wr high before falling edge of clk 10 - ns 15 t hd clk_wrb_l 1 wr high after falling edge of clk 10 - ns 16 t su csb_rdb cs low before falling edge of rd 0- ns 17 t su addr_rdb addr valid before falling edge of rd 0- ns 18 t hd rdb_addr addr hold after rising edge of rd 0- ns 19 t hd rdb_csb cs hold after rising edge of rd 0- ns 20 t pwl rdb rd pulse width, low 20 - ns 21 t pwh rdb rd pulse width, high 20 - ns 22 t su rdb_clk_h rd low before rising edge of clk 7.5 - ns 23 t hd rdb_clk_h rd low after rising edge of clk 7.5 - ns 24 t pwl resetb reset pulse width, low 2 t per clk - ns note 1 all writes to the ADMC201 must occur within 1 system clock cycle (0 wait states). number symbol ADMC201 switching characteristics min max units 25 t dly rdb_data data valid after falling edge of rd -23ns 26 t hd rdb_data data hold after rising edge of rd 0- ns 27 t pwh _pio digital i/o pulse width, high 2 t per clk - ns 28 t pwl _pio digital i/o pulse width, low 2 t per clk - ns 11 4 5 6 7 10 12 15 13 9 8 14 clk cs a0Ca3 wr data note: all writes to the ADMC201 must occur within one system clock cycle ( i.e. 0 wait states ) figure 3. write cycle timing diagram 1 2 3 clk figure 1. clock input timing 24 clk reset figure 2. reset input timing
ADMC201 rev. a C4C ordering guide part temperature package package number range description option ADMC201ap C40 c to +85 c 68-pin plcc p-68a 23 25 26 16 clk cs a0Ca3 rd data 22 20 21 18 19 17 figure 4. read cycle timing diagram absolute maximum ratings* supply voltage (v dd ) . . . . . . . . . . . . . . . . . . C0.3 v to +7.0 v digital input voltage . . . . . . . . . . . . . . . . . . . . . C0.3 v to v dd analog input voltage . . . . . . . . . . . . . . . . . . . . . C0.3 v to v dd analog reference input voltage . . . . . . . . . . . . C0.3 v to v dd digital output voltage swing . . . . . . . . . . . . . . C0.3 v to v dd analog reference output swing . . . . . . . . . . . . C0.3 v to v dd operating temperature . . . . . . . . . . . . . . . . . C40 c to +85 c lead temperature (soldering, 10 sec) . . . . . . . . . . . . . +280 c *stresses greater than those listed above may cause permanent damage to the device. these are stress ratings only, and functional operation of the device at these or any other conditions greater than those indicated in the operational sections of this specification is not implied. exposure to absolute maximum rating conditions for extended periods may affect device reliability. warning! esd sensitive device caution esd (electrostatic discharge) sensitive device. electrostatic charges as high as 4000 v readily accumulate on the human body and test equipment and can discharge without detection. although the ADMC201 features proprietary esd protection circuitry, permanent damage may occur on devices subjected to high energy electrostatic discharges. therefore, proper esd precautions are recommended to avoid performance degradation or loss of functionality.
ADMC201 rev. a C5C pin designations pin mnemonic type description 38 refout o/p internal 2.5 v analog reference 39 v dd sup +5 v digital power supply 40 dgnd gnd digital ground 41 dgnd gnd digital ground 42 dgnd gnd digital ground 43 dgnd gnd digital ground 44 v dd sup +5 v digital power supply 45 nc no connect 46 dgnd gnd digital ground 47 stop i/p pwm timer output disable 48 pwmsync o/p pwm synchronization output 49 cp o/p pwm timer output c prime 50 c o/p pwm timer output c 51 bp o/p pwm timer output b prime 52 nc no connect 53 b o/p pwm timer output b 54 ap o/p pwm timer output a prime 55 a o/p pwm timer output a 56 dgnd gnd digital ground 57 dgnd gnd digital ground 58 dgnd gnd digital ground 59 v dd sup +5 v digital power supply 60 d0 bidir data bit 0, lsb 61 d1 bidir data bit 1 62 d2 bidir data bit 2 63 d3 bidir data bit 3 64 d4 bidir data bit 4 65 d5 bidir data bit 5 66 d6 bidir data bit 6 67 d7 bidir data bit 7 68 d8 bidir data bit 8 pin types pin types i/p = input pin bidir = bidirectional pin o/p = output pin sup = supply pin gnd = ground pin pin mnemonic type description 1 d9 bidir data bit 9 2 d10 bidir data bit 10 3 d11 bidir data bit 11, msb 4 pio0 bidir programmable digital i/o bit 0 5 pio1 bidir programmable digital i/o bit 1 6 pio2 bidir programmable digital i/o bit 2 7 pio3 bidir programmable digital i/o bit 3 8 pio4 bidir programmable digital i/o bit 4 9 pio5 bidir programmable digital i/o bit 5 10 v dd sup +5 v digital power supply 11 a3 i/p address bit 3, msb 12 a2 i/p address bit 2 13 a1 i/p address bit 1 14 a0 i/p address bit 0, lsb 15 nc no connect 16 reset i/p chip reset 17 convst i/p a/d conversion start 18 irq o/p interrupt request (pull-up re quired) 19 v dd sup +5 v digital power supply 20 dgnd gnd digital ground 21 clk i/p external clock input 22 wr i/p write select 23 rd i/p output enable/read 24 cs i/p chip select 25 nc no connect 26 v dd sup +5 v analog power supply 27 agnd gnd analog ground 28 agnd gnd analog ground 29 u i/p analog input u 30 v i/p analog input v 31 w i/p analog input w 32 sgnd gnd analog signal ground 33 refin i/p analog reference input 34 aux3 i/p auxiliary analog input 3 35 aux2 i/p auxiliary analog input 2 36 aux1 i/p auxiliary analog input 1 37 aux0 i/p auxiliary analog input 0 pin configuration 10 11 12 13 14 15 16 17 18 19 20 22 23 24 25 26 21 961 8765 68676665646362 4321 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 27 43 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 pin 1 identifier top view (not to scale) d0 v dd dgnd dgnd dgnd a ap b nc bp c cp pwmsync stop dgnd nc v dd sgnd agnd agnd u v w refin refout v dd dgnd dgnd dgnd dgnd aux3 aux2 aux1 aux0 v dd a3 a2 a1 a0 nc reset convst irq v dd dgnd clk wr rd cs nc v dd nc = no connect d11 d7 d4 d6 d5 d1 d8 d9 d2 d3 d10 pio3 pio5 pio2 pio1 pio0 pio4 ADMC201
ADMC201 rev. a C6C interrupt driven method interrupts can be used to indicate the end of conversion for a group of channels. before beginning any a/d conversions, bit 7 of the sysctrl register must be set to 1 to enable a/d con- version interrupts. then, when an a/d conversion is complete, an interrupt will be generated. after an interrupt is detected, bit 0 of the sysstat register must be checked to determine if the a/d converter was the source. reading the sysstat reg- ister automatically clears the interrupt flag bits. software timing method an alternative method is to use the dsp or microcontroller to keep track of the amount of time elapsed between convst and the expected completion time (n t conv ). reading results the 11-bit a/d conversion results for channels u, v, w and aux are stored in the adcu, adcv, adcw and adcaux registers respectively. the twos complement data is left justified and the lsb is set to zero. the relationship between input volt- age and output coding is shown in figure 5. 011111111110 000000000000 100000000000 output code full-scale transition 0v 2.5 5vC1lsb input voltage fs = 5v lsb = 5v 2048 figure 5. transfer function sample and hold after powering up the ADMC201, bring the reset pin low for a minimum of two clock cycles in order to enable a/d conver- sions. before initiating the first conversion (convst) after a reset, the sha time of 20 system clock cycles must occur. a conversion is initiated by bringing convst high for a mini- mum of one system clock cycle. the sha goes into hold mode at the falling edge of clock. following completion of the a/d conversion process, a mini- mum of 20 system clock cycles are required before initiating an- other conversion in order to allow the sample and hold circuitry to reacquire the input signals. if a convst is initiated before the 20 clock cycles have elapsed, the embedded control sequencer will delay conversion until this requirement is met. analog input block the ADMC201 contains an 11-bit resolution, successive approxi- mation analog-to-digital (a/d) converter with twos complement output data format. the analog input range is 2.5 v (0 ve5 v) with a 2.5 v offset as defined by refin. the on-chip 2.5 v 5% reference is utilized by connecting the refout pin to the refin pin. the input stage to the a/d converter is a four channel sha which allows the four channels (u, v, w and aux) to be held simultaneously and then sequentially digitized. the auxiliary input (aux) is fed by a four channel multiplexer that allows the channels aux0, aux1, aux2 and aux3 to be individually converted along with the primary channels u, v and w. the auxiliary inputs are ideal for reading slower changing variables such as bus voltage and temperature. the a/d conversion time is determined by the system clock frequency, which can range from 6.25 mhz to 12.5 mhz. the sample and hold (sha) acquisition time is 20 system clock cycles and is independent of the number of channels sampled and/or digitized. forty system clock cycles are required to complete each a/d conversion. the analog channel sampling is flexible and is programmable through the sysctrl register. the minimum number of channels per conversion is two. the throughput time of the analog acquisition block can be calculated as follows: t aa = t sha + ( n t conv ) where t aa = analog acquisition time, n = # channels, t sha = sha acquisition time (20 system clock period), t conv = conversion time (40 system clock period) per channel. a/d conversions are initiated via the convst pin. a syn- chronizing pulse (pwmsync) is provided at the beginning of each pwm cycle. this pulse can be used to synchronize the a/d conversion process to the pwm switching frequency. operating the a/d converter the a/d converter can be set up to convert a sequence of chan- nels as defined in the sysctrl register (see table vi). the default channel select mode after reset is to convert channels v and w only. this is two-/three-phase mode. three-/three- phase mode converts channels u, v, w, and/or aux. three-/ three-phase mode is selected by writing a 1 to bit 3 of the sysctrl register. after the conversion process is complete, the channels can be read in any order. there are two methods that can be used to indicate when the a/d conversions are completed and the data is ready: interrupt driven and software timing.
ADMC201 rev. a C7C pwm timer block overview the pwm timers have 12-bit resolution and support program- mable pulse deletion and deadtime. the ADMC201 generates three center-based signals a, b and c based upon user-supplied duty cycles values. the three signals are then complemented and adjusted for programmable deadtime to produce the six outputs. the ADMC201 pwm master switching frequency can range from 2.5 khz to 20 khz, when using a 10 mhz system clock. the master frequency selection is set as a fraction of the pwmtm register. if the system clock is 10 mhz, then the minimum edge resolution available is 100 ns. the output format of the pwm block is active lo. there is an external input to the pwm timers (stop) that will disable all six outputs within one system clock when the input is high. the ADMC201 has a pwm synchronization output (pwmsync) w hich brings out the master switching frequency from the pwm timers. the width of the pwmsync pulse is equal to one system clock cycle. for example, if the system clock is 10 mhz, the pwmsync width would be equal to 100 ns. pwm master switching period selection the switching time is set by the pwmtm register which should be loaded with a value equal to the system clock frequency divided by the desired master switching frequency. for ex- ample, if the desired switching frequency is 8 khz and the sys- tem clock freque ncy is 10 mhz, then the pwmtm register should be loaded with 1250 (10 mhz/8 khz). the pwmcha, pwmchb and pwmchc registers are loaded with the desired on-time and their values would be calculated as a ratio of the pwmtm register value. note: desired pulse density = (pwmchx register)/( pwmtm register). the beginning of each pwm cycle is marked by the pwmsync signal. new values of pwmcha, pwmchb and pwmchc must all be loaded into their respective registers at least four sys- tem clock cycles before the beginning of a new pwm cycle. all three registers must be updated for any of them to take effect. new pwm on/off times are calculated during these four clock cycles and therefore the pwmcha, pwmchb and pwmchc registers must be loaded before this time. if this timing require- ment is not met, then the pwm outputs may be invalid during the next pwm cycle. pwm example the following example uses a system clock speed of 10 mhz. the desired pwm master switching frequency is 8 khz and the desired on-time for the timers a, b and c are 25%, 50% and 10% respectively. the values for the pwmcha, pwmchb and pwmchc registers must be calculated as ratios of the pwmtm register (1250 in this example). to achieve these duty cycles, load the pwmcha register with 313 (1250 0.25), pwmchb with 625 (1250 0.5) and pwmchc with 125 (1250 0.1). programmable deadtime with perfectly complemented pwm drive signals and nonideal switching characteristics of the power devices, both transistors in a particular leg might be switched on at the same time, result- ing in either a power supply trip, inverter trip or device destruc- tion. in order to prevent this, a delay must be introduced between the complemented signal edges. for example, the ris- ing edge of ap occurs before the falling edge of a, and the fall- ing edge of the complemented a occurs after the rising edge of a. this capability is known as programmable deadtime. the ADMC201 programmable deadtime value is loaded into the 7-bit pwmdt register, in which the lsb is set to zero in- ternally, which means the deadtime value is always divisible by two. with a 10 mhz system clock, the 0C126 range of values in pwmdt yield a range of deadtime values from 0 m s to 12.6 m s in 200 ns steps. figure 6 shows pwm timer a with a program- mable deadtime of pwmdt. pwmcha - pwmdt a pwmtm ap pwmcha + pwmdt figure 6. programmable deadtime example pulse deletion the pulse deletion feature prevents a pulse from being gener- ated when the user-specified duty cycle results in a pulse dura- tion shorter than the user-specified deletion value. the pulse deletion value is loaded into the 7-bit register pwmpd. when the user-specified on-time for a channel would result in a calcu- lated pulse width less than the value specified in the pwmpd register, then the pwm outputs for that channel would be set to full off (0%) and its prime to full on (100%). this is valid for a, ap, b, bp, c and cp. this feature would be used in an en- vironment where the inverters power transistors have a mini- mum switching time. if the user-specified duty cycle would result in a pulse duration shorter than the minimum switching time of the transistors, then pulse deletion should be used to prevent this occurrence. with a 10 mhz system clock, the 0C 127 range of values in pwmpd yield a range of deadtime values from 0 m s to 12.7 m s in 100 ns steps. external pwm shutdown there is an external input pin (stop) to the pwm timers that will disable all six outputs when it goes high. when the stop pin goes high, the pwm timer outputs will all go high within one system clock cycle. when the stop pin goes low, the pwm timer outputs are re-enabled within one system clock cycle. if external pwm shutdown isn't required, tie the stop pin low.
ADMC201 rev. a C8C vector transformation block overview the vector transformation block performs both park and clarke coordinate transformations to control a three-phase motor (permanent magnet synchronous motor or induction motor) via independent control of the decoupled rotor torque and flux currents. the park & clarke transformations combine to convert three-phase stator current signals into two orthogonal rotor referenced current signals id and iq. id represents the flux or magnetic field current and iq represents the torque generat- ing current. the id and iq current signals are used by the processors motor torque control algorithm to calculate the re- quired direct vd and quadrature vq voltage components for the motor. the forward park and clarke transformations are used to convert the vd and vq voltage signals in the rotor reference frame to three-phase voltage signals (u, v, w) in the stator ref- erence frame. these are then scaled by the processor and writ- ten to the ADMC201s pwm registers in order to drive the inverter. the figures below illustrate the clarke and park transformations respectively. i w i u i v i y i x 120 120 120 three-phase equivalent stator currents two-phase currents figure 7. reverse clarke transformation i y i x r i q i d rotor reference frame axis 90 rotating stationary reference frame reference frame figure 8. reverse park transformation v q v d r v y v x 90 stationary rotating reference frame reference frame figure 9. forward park transformation v y v x w u v 120 120 120 equivalent three-phase stator two-phase voltage voltage figure 10. forward clarke transformation operating/using the vector transformation block after powering up the ADMC201, reset must be driven low for a minimum of two clock cycles to enable vector transformations. the vector transformation block can perform either a forward or reverse transformation. reverse transformation is defined by the following operations: (a) clarke: 3-phase current signals to 2-phase current signals followed by (b) park: 2-phase current signals cross multiplied by sin r , cos r which effectively measures the current components with respect to the rotor (stationary) where r is the electrical angle of the rotor field with respect to the stator windings. forward transformation is defined by the following operations: (a) park: 2-phase voltage signals cross multiplied by sin r , cos r fol- lowed by (b) clarke: 2-phase to 3-phase voltage signal conversion. in order to provide maximum flexibility in the target system, the ADMC201 operates in an asynchronous manner. this means that the functional blocks (analog input, reverse transformation, forward transformation and pwm timers) operate indepen- dently of each other. the reverse and forward vector transfor- mation operations cannot occur simultaneously. all vector transformation registers, except for rho/rhop, are twos complement. rho/rhop are unsigned ratios of 360 . for example, 45 would be 45/360 2 12 . performing a reverse transformation a reverse transformation is initiated by writing to the reverse rotation angle register rho and operates on the values in the phip1, phip2 and phip3 registers. when the reverse trans- formation is in 2/3 mode, phip1 is calculated from phip2 and phip3. this is used in systems where only two-phase currents are measured. the reverse transformation 2/3 mode is set by clearing bit 10 in the sysctrl register and is the default mode after reset . in order to perform a reverse transformation, first write to the phip2 and phip3 registers, and to the phip1 register if not in 2/3 mode. then initiate the transformation by writing the re- verse rotation angle to the rho register. the reverse rotation will be completed in 37 system clock cycles after the rotation is initiated. if bit 6 of the system control reg- ister is set, then an interrupt will be generated on completion. when an interrupt occurs, the user must check bit 1 of the sysstat register to determine if the vector transformation block was the source of the interrupt. during the vector transformation, the vector transformation registers must not be written to or the vector rotation results will be invalid.
ADMC201 rev. a C9C forward park rotation if the input signals are represented by vd and vq, then the transformation can be described by: vx v x = v d cos r e v q sin r vy v y = v d sin r + v q cos r where v x and v y are the outputs of the park rotation, and are the inputs to the reverse clarke transformation. forward clarke transformation (2- to 3-phase) the second operation to be applied to the above results, is the forward clarke transformation where 2-phase (stator) voltage signals are converted to 3-phase (stator) voltage signals. for the inverse clarke transform we require three-phase outputs of the form below: phv1 v cos a phv2 v cos ( a + 120) phv3 v cos ( a + 240) we have two quadrature voltages (v cos a and v sin a ) available. phv2 v cos ( a + 120) = 1 2 v cos a 3 2 v sin a phv3 v cos ( a + 240) = 1 2 v cos a+ 3 2 v sin a programmable digital input/output port the ADMC201 has a six bit programmable digital i/o port. each bit is individually configurable as input or output. all bits configured as inputs have the ability to operate as interrupt sources. each pin is independently capable of generating an in- terrupt should its input level change. configuring the programmable digital i/o port the pioctrl register is used to configure the individual bits on the programmable digital i/o port as either inputs or outputs and to enable change of state interrupts. the lower six bits of pioctrl control the direction (either input or output) of the individual bits. a zero configures the corresponding bit as an input; conversely a 1 configures the corresponding bit as an out- put. the upper six bits of pioctrl are used to enable the in- dividual bits for use as change of state interrupt sources. a 0 disables change of state interrupt generation and a 1 enables change of state interrupt generation. the interrupt enable for a bit configured as an output is ignored. at power-up or reset , all six bits of the digital port are configured as input and change of state interrupt generation is disabled. using the programmable digital i/o port the piodata register is used to write to and read from the digital i/o port. bits 0C5 of the piodata register correspond to pio 0C5 on the ADMC201. bits 6C11 of piodata are un- used and always contain 0. read from piodata to determine the state of pio 0C5. write to piodata to change the states of pio 0C5. writing to bits configured as input has no effect. reading from bits configured as output will return the last value written. reverse clarke transformation the first operation is the clarke transformation in which the three-phase motor current signals (i u , i v , i w ) are converted to sine and cosine orthogonal signals (i x and i y ). these signals represent the equivalent currents in a two-phase ac machine and is the signal format required for the park rotation. the three- phase input signals are of the form: phip1 i u = i s cos q phip2 i v = i s cos ( q + 120) phip3 i w = i s cos ( q + 240) and the park rotation requires inputs in the form i s cos q and i s sin q , therefore we need to generate i s sin q . this is calculated from: iy i s sin q = 1 3 ( i s cos ( q + 240) e i s cos ( q +120)) after the reverse transform, registers i x and i y contain the 2- phase input current information. in the case where 2- of 3-phase information (phip2/3 only) is provided, then phip1 will be derived from the simple fact that all sum to zero. this value is then placed in the ix register. ix = i x = i s cos q = e i s cos ( q + 120) e i s cos ( q + 240) reverse park rotation ix/iy are then processed together with the digital angle r (rho) by a park rotation. if the input signals are i x and i y , then the rotation can be described by: id i d = i x cos r + i y sin r iq i q = ei y sin r + i y x cos r where id and iq are the outputs of the park rotation. cos r and sin r are required for the park rotation, and are cal- culated internally. substituting for i x and i y in the above yields: id i d = i s cos q cos r + i s sin q sin r = i s cos ( q e r ) iq i q = i s sin q cos r e i s cos q sin r = i s sin ( q e r ) performing a forward transformation in order to perform a forward rotation, write values to the vd and vq registers and then initiate the transformation by writing the rotation angle to the register rhop. the forward transfor- mation will only operate correctly when bit 10 in the sysctrl register is set (i.e., in 3/3 mode). the forward rotation will be completed in 40 system clock cycles after the rotation is initiated. if bit 6 of the system control register is set, then an interrupt will be generated on completion. when an interrupt occurs, the user must check bit 1 of the system status register, sysstat, to determine if the vector transformation block was the source of the interrupt. during the vector transformation, the transformation registers must not be written to or the vector rotation results will be i nvalid.
ADMC201 rev. a C10C interrupt generation there are three interrupt sources on the ADMC201 that may be independently enabled to generate interrupts. the first inter- rupt source is the analog input block, which, if enabled, gener- ates an interrupt at the end of conversion. the second interrupt source is the vector transformation block, which, if enabled, generates an interrupt at the end of a vector transformation. the third interrupt source is the digital i/o block. each digital i/o bit, if configured for input and enabled, generates an inter- rupt when its input level changes. when a 1 is stored in bit 7 of the sysctrl register, adc in- terrupts are enabled. when a 1 is stored in bit 6 of the sysctrl register, vector transformation interrupts are en- abled. when a 1 is stored in any of bits 6C11 of the pioctrl register, digital i/o change of state interrupts are enabled for bits 0C5 respectively. upon a reset of the chip, all bits are set to the default condition, 0, thus disabling all interrupts. when an enabled interrupt occurs, bit 11 of the sysstat reg- ister becomes a 1. if that interrupt had been an adc interrupt, bit 0 of sysstat register would also be set to 1. if that inter- rupt had been a vector transformation interrupt, bit 1 of sysstat would be set to 1. if that interrupt had been a digi- tal i/o interrupt, then bit 2 of the sysstat would be set to 1. whenever the sysstat register is read, these four bits go back to their default state, 0, immediately after their values are loaded onto the data bus. upon a reset, these four bits also go to their default state, 0. the irq pin has an open-drain driver, which will drive it low at the appropriate times, but the user must supply an external pull- up resistor to bring the node back high when it is not being pulled low. the irq pin operates in one of two modes, edge mode or level mode. in edge mode, when an enabled interrupt occurs, the irq pin will be driven low for one system clock period. in level mode, when an enable interrupt occurs, the irq pin will be driven low, and will remain low until the sysstat register is read. the combination of level mode and the open-drain driver allows multiple interrupt sources in an application to drive a single interrupt input line on the host dsp or microprocessor. edge mode or level mode is determined with bit 8 of the sysctrl register. edge mode (0) is the default; a 1 in this bit will put the irq pin into level mode. the recommended method of using the interrupt generation ca- pability is to set edge or level mode, enable the appropriate in- terrupts, and then monitor the irq line. after the irq pin goes low, the sysstat register of the ADMC201 should be read, (1) to determine if it was this chip that caused the interrupt, if other lines are wired together with this irq pin, and (2) if it was this chip, to determine if it was generated by the analog input, digital i/o and/or the vector transformation blocks. once this is done, the appropriate interrupt handling routine may be executed. application note list 1. an-407 ac motor control experiments using the admc200 evaluation board 2. an-408 ac motor control using the admc200 motion coprocessor 3. an-409 advanced motor control techniques using the admc200 motion coprocessor power supply connections and setup the nominal positive power supply level (v dd ) is +5 v 5%. the positive power supply v dd should be connected to all ADMC201 v dd pins (10, 19, 26, 39, 44, 59). the sgnd pin (32) and both agnd pins (27, 28) should be star point con- nected at a point close to the agnd pins of the ADMC201. the dgnd pins (20, 40, 41, 42, 43, 46, 56, 57, 58) should also be connected to agnd pins close to the ADMC201. power supplies should be decoupled at the power pins using a 0.1 m f capacitor. a 220 nf capacitor must also be connected as close as possible between refin (pin 33) and sgnd (pin 32). in addition, the irq requires a 15k pull-up to the v dd supply. system clock frequency the nominal range of the input clock for the ADMC201 is 6.25 mhz to 25 mhz. the external clk frequency can be in- ternally divided down by 2 by writing to bit 5 of the sysctrl register. if the external clk is faster than 12.5 mhz then it is necessary to internally divide it down. dsp/controller interface the ADMC201 has a 12-bit bidirectional parallel port for inter- facing with analog devices adsp-2100 dsp family or micro- controllers/microprocessors. the ADMC201 coprocessor is designed to be conveniently in- terfaced to the adis family of fixed-point dsps. figures 11 and 12 show the interfacing between the ADMC201 and the adsp-2101/2105/2115, adsp-2171, adsp-2181, tms320c2x dsps. in the case of the tms320c2x, some glue logic is re- quired to decode the rd/ wr lines and invert the clkout1 signal. the adsp-2101/2105/2115 clkout frequency equals the crystal/clock frequency of its clkin. this signal (clkout) can be used to directly drive the clk line (pin 21) on the ADMC201. the ADMC201 coprocessor can be operated with a clock frequency between the of 6.25 mhz and 25 mhz. if the clock frequencies is greater than 12.5 mhz, then it is necessary to internally divide down the external clock to derive the ADMC201?s system clock (via sysctrl register). en address decode v dd dms irq2 rd wr clkout d0ed23 a0ea13 adsp2101/ adsp2105/ adsp2115e20mhz adsp2181e10mhz adsp2171e10mhz cs irq rd wr clk d0ed11* a0ea3 ADMC201 address bus data bus *note: by mapping the ADMC201 data bus to the twelve highest bits of the adsp data bus, full-scale outputs from the adc can be represented by 1.0 in fixed point arithmetic. figure 11. adi digital signal processor/microcomputer
ADMC201 rev. a C11C phip1/2/3 the inputs for reverse vector transforma- tion (clarke and park). ix/iy these registers contain the results of the clarke transformation that are the inputs to the reverse park rotation. vx, vy vx, vy contain the results of the forward park rotation. rhop rhop is the angle used during the forward vector transformation. writing to the rhop register causes the forward rotation to start based on values in rhop, vd and vq registers. rho rho is the angle used during the reverse vector transformation. writing to this register starts the reverse rotation using the values in the rho, phip1/2/3 registers. rho and rhop are unsigned ratios of 360 . for example, 45 degrees would be 45/360 2 12 . piodata write to this register to change the digital outputs and read from it to determine the state of digital inputs. pioctrl this register is used to configure the digital i/o as input or output and to enable interrupt on change of state. description of the registers all unspecified register locations are reserved. sysctrl system control register (see tables v, vi, vii). sysstat system status register (see table vii). adcu these registers contain the results from adcv the first three analog input channels adcw u, v, and w. the output data format is twos complement and, therefore, bit 0 is always zero as the a/d converter has 11-bit resolution. adcaux this register contains the conversion result of the auxiliary channels aux0, aux1, aux2 or aux3. pwmtm pwm master switching period pwmcha pwm channel a on-time pwmchb pwm channel b on-time pwmchc pwm channel c on-time pwmdt pwm programmable deadtime value pwmpd pwm programmable pulse deletion value id/iq these are the results of the reverse rotation (torque and flux components). phv1/2/3 these are the results from the forward clarke transformation. en address decode v dd is intn strb r/w clkout1 d0Cd15 a0Ca15 tms320c20 tms320c25-50 tms320c25 cs irq rd wr clk d0Cd11 a0Ca3 ADMC201 address bus data bus figure 12. ti second generation devices tms320c20/ c25/c25C50 in the case of the adsp-2171/2181, the system clock is inter- nally scaled, a 10 mhz system clock will derive a 20 mhz clkout. in the case of the tms320c2x, the clkout1 signal is derived from the system clock divided by a factor of 4, consequently a 50 mhz tms320c25-50 will derive a 12.5 mhz clkout1 for use by the ADMC201. note: a pull-up resistor is required on the irq (pin 18) output from the ADMC201. the stop (pin 47) must be tied low if not in use. register addressing four address lines (a0 through a3) are used in conjunction with the control lines ( cs, wr , rd ,) to select registers 0 through 15. the cs and rd control lines are active low. the registers are given symbolic names. table ii. pin function cs enables the ADMC201 register interface (connect via chip select logic-active low) rd places data from the internal register onto the data bus wr loads the internal register with data on the data bus on its positive edge
ADMC201 rev. a C12C table iii. write registers name a 3 a 2 a 1 a 0 register function rho 0000 load rho ( r ) and start reverse transform phip1/vd 0001 reverse rotation direct input/forward direct input phip2/vq 0010 reverse rotation direct input/forward direct input phip3 0011 reverse rotation direct input rhop 0100 load rhop ( r ) and start forward transform pwmtm 0101 pwm master switching period pwmcha 0110 pwm channel a on-time pwmchb 0111 pwm channel b on-time pwmchc 1000 pwm channel c on-time pwmdt 1001 pwm programmable deadtime (7-bit register) pwmpd 1010 pwm pulse deletion value (7-bit register) pioctrl 1011 digital i/o control piodata 1100 digital i/o data write (6-bit register) sysctrl 1101 system control 1110 reserved 1111 reserved table iv. read registers name a 3 a 2 a 1 a 0 register function id/phv1/vx 0000 reverse rotation result (i ds )/forward result cos +0 iq/phv2 0001 reverse rotation result (i qs )/forward cos +120 ix/phv3 0010 reverse clarke cos +0 /forward result cos +240 iy/vy 0011 reverse clarke cos +90 /forward cos +90 0100 reserved adcv 0101 a/d conversion result channel v adcw 0110 a/d conversion result channel w adcaux 0111 a/d conversion result auxiliary channel adcu 1000 a/d conversion result channel u 1001 reserved 1010 reserved 1011 reserved piodata 1100 digital i/o data read (6-bit register) sysctrl 1101 system control sysstat 1110 system status 1111 reserved
ADMC201 rev. a C13C table vii. sysctrl analog input channel selection bit 3 bit 4 channels converted mode 0 0 v, w (default) two-/three-phase 0 1 v, w, aux two-/three-phase 1 0 u, v, w three-/three-phase 1 1 u, v, w, aux three-/three-phase bit 0, 1 auxiliary channel selection. bit 3 channel u conversion enable. if bit 3 is set to 1, then channel u will be converted along with v, w and/or aux. this bit selects three-/three-phase mode. bit 4 aux channel conversion enable. if bit 4 is set to 1, then the aux input will be converted along with the channels v, w and/or u. bit 5 if bit 5 = 1, then the external clock will be divided by two to derive the system clock. if the external clock frequency is greater than 12.5 mhz, then this bit must be set. bit 6 park interrupt enable. this bit allows interrupts to be generated when the park rotation is completed. bit 7 adc interrupt enable. this bit allows interrupts to be generated when the analog-to-digital conversion process is complete. bit 8 irq pin format?edge or level interrupt selection. if bit 8 is set to 0, then an interrupt will cause a pulse of one system clock to be generated on the irq pin. if bit 8 is set to 1, then an interrupt causes the irq output to go low (logic 0). the irq output pin will remain low until the sysstat register is read. bit 10 if bit 10 is set to 1, then the reverse park transforma- tion will be formed in 3/3 mode. for forward transformations, this bit must be set to 1. table v. system control (sysctrl) registers reset bit function default 0 auxiliary channel selection 0 1 auxiliary channel selection 0 3 enables u channel conversion (1 = enable) two-/three-phase mode 0 4 enables aux channel conversion (0 = disable, 1 = enable) 0 5 divide external clock by 2 (0 = no, 1 = yes) 0 6 park interrupt enable 0 7 adc interrupt enable (0 = disable, 1 = enable) 0 8 irq pin format (edge or level based interrupt requests) (0 = edge) 0 10 reverse rotation (0 = 2/3, 1 = 3/3) 0 forward rotation (1 = enable) table vi. sysctrl auxiliary channel selection bit 0 bit 1 auxiliary channels converted 0 0 aux0 0 1 aux1 1 0 aux2 1 1 aux3
ADMC201 rev. a C14C table viii. system status register (sysstat) 1 reset bit function default 0 a/d conversion completion interrupt (1 = true) 0 1 vector transformation completion interrupt (1 = true) 0 2 digital i/o change of state interrupt (1 = true) 0 4 rotation results are valid (1 = valid) x 2 11 irq generated from this 0 device (1 = true) notes 1 reading this register clears the interrupt status flags bits 0, 1, 2 and 11. 2 undefined until the first vector transformation has started bit 0 a/d conversion completion interrupt. this register is set to 1 when the a/d conversion process has com- pleted and adc interrupts have been enabled in the sysctrl register. bit 1 interrupt status. this register is set to 1 when the vector transformation is completed and the vector transformation completion interrupts have been enabled. bit 4 this bit is set to 1 when the rotation results are valid reading this. bit 11 if any interrupt source on the ADMC201 occurs, then this bit is set to 1. table ix. programmable digital i/o control register (pioctrl) reset bit function default 0 programmable digital i/o direction bit 0 (0 = input, 1 = output) 0 1 programmable digital i/o direction bit 1 (0 = input, 1 = output) 0 2 programmable digital i/o direction bit 2 (0 = input, 1 = output) 0 3 programmable digital i/o direction bit 3 (0 = input, 1 = output) 0 4 programmable digital i/o direction bit 4 (0 = input, 1 = output) 0 5 programmable digital i/o direction bit 5 (0 = input, 1 = output) 0 6 programmable digital i/o bit 0 interrupt (0 = disable, 1 = enable) 0 7 programmable digital i/o bit 1 interrupt (0 = disable, 1 = enable) 0 8 programmable digital i/o bit 2 interrupt (0 = disable, 1 = enable) 0 9 programmable digital i/o bit 3 interrupt (0 = disable, 1 = enable) 0 10 programmable digital i/o bit 4 interrupt (0 = disable, 1 = enable) 0 11 programmable digital i/o bit 5 interrupt (0 = disable, 1 = enable) 0 bit 0C5 sets corresponding digital i/o bits as either input or output. bit 6C11 configures digital i/o bits 0C5 as interrupt on change of state sources. enabling interrupts for bits configured as output has no effect.
ADMC201 rev. a C15C outline dimensions dimensions shown in inches and (mm). 68-lead plastic leaded chip carrier (p-68a) 9 pin 1 identifier 10 61 60 26 27 44 43 top view (pins down) 0.995 (25.27) 0.985 (25.02) sq 0.954 (24.23) 0.950 (24.13) sq 0.019 (0.48) 0.017 (0.43) 0.050 (1.27) typ 0.925 (23.50) 0.895 (22.73) 0.029 (0.74) 0.027 (0.69) 0.104 (2.64) typ 0.175 (4.45) 0.169 (4.29) bottom view (pins up) pin 1 identifier
e16e c2072e18e10/95 printed in u.s.a.


▲Up To Search▲   

 
Price & Availability of ADMC201

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X